math/big.nat.add (method)
30 uses
math/big (current package)
float.go#L1240: z.mant = z.mant.add(x.mant, t)
float.go#L1243: z.mant = z.mant.add(x.mant, z.mant)
float.go#L1247: z.mant = z.mant.add(x.mant, y.mant)
float.go#L1251: z.mant = z.mant.add(t, y.mant)
float.go#L1254: z.mant = z.mant.add(z.mant, y.mant)
ftoa.go#L205: upper.init(tmp.add(mant, natOne), exp)
int.go#L147: z.abs = z.abs.add(x.abs, y.abs)
int.go#L168: z.abs = z.abs.add(x.abs, y.abs)
int.go#L1123: z.abs = t.add(t, natOne)
int.go#L1165: z.abs = t.add(t, natOne)
int.go#L1181: z.abs = z.abs.add(z.abs.or(x1, y1), natOne)
int.go#L1225: z.abs = z.abs.add(z.abs.or(x1, y.abs), natOne)
int.go#L1244: z.abs = z.abs.add(z.abs.and(x1, y1), natOne)
int.go#L1262: z.abs = z.abs.add(z.abs.andNot(y1, x.abs), natOne)
int.go#L1292: z.abs = z.abs.add(z.abs.xor(x.abs, y1), natOne)
int.go#L1307: z.abs = z.abs.add(x.abs, natOne)
nat.go#L102: func (z nat) add(x, y nat) nat {
nat.go#L108: return z.add(y, x)
nat.go#L1106: z = z.add(z, z1.mul(z2, m2))
nat.go#L1384: z2 = z2.add(z2, z1)
nat.go#L1428: return z.add(z, natOne)
prime.go#L104: x = x.add(x, natTwo)
prime.go#L216: s := nat(nil).add(n, natOne)
prime.go#L258: t1 = t1.add(t1, n)
prime.go#L263: t1 = t1.add(t1, nm2)
prime.go#L269: t1 = t1.add(t1, n)
prime.go#L274: t1 = t1.add(t1, nm2)
ratconv.go#L356: r2 = r2.add(r2, r2)
ratconv.go#L358: r = r.add(r, natOne)
ratconv.go#L360: q = nat(nil).add(q, natOne)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |